/*
 * @Author: zhangyang
 * @Date: 2024-05-23 12:00:09
 * @LastEditTime: 2024-06-04 15:58:41
 * @Description: 
 */

import 'package:fluro/fluro.dart';
import '/pages/home.dart';
import '/pages/tabbar/data.dart';

import '/routers/i_router.dart';

class TabbarRouter extends IRouterProvider {
  static String home = '/';
  static String data = '/data';

  @override
  void initRouter(FluroRouter router) {
    router.define(TabbarRouter.home,
        handler: Handler(handlerFunc: (_, __) => const Home()));
    router.define(TabbarRouter.data,
        handler: Handler(handlerFunc: (_, __) => const DataPage()));
  }
}
